package org.example.commend;

public abstract class Invoker {

    protected Command command;

    public Invoker(Command command){
        this.command = command;
    }

    public void execute(){
        command.execute();
    }

}
